package com.sitech.ibnms.c3p.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.UUID;

public class TbSubscribeMessage implements Serializable {

    private String MESSAGE_ID;
    private String SERIAL_NO;
    private String MESSAGE_TYPE;
    private String MESSAGE_CONTENT;
    private Date SEND_TIME;
    private String MESSAGE_TO;
    private String LOGIN_ID;
    private String UNIT_ID;
    private String KPI_ID;
    private String MESSAGE_STATE;


    public TbSubscribeMessage() {
    }

    public TbSubscribeMessage(String messageTo, String serialNo, String messageContent) {
        this.MESSAGE_ID = UUID.randomUUID().toString().toUpperCase();
        this.MESSAGE_TO = messageTo;
        this.SERIAL_NO = serialNo;
        this.MESSAGE_TYPE = "13";
        this.MESSAGE_CONTENT = messageContent;
        this.SEND_TIME = new Date();
    }

    public String getMESSAGE_STATE() {
        return MESSAGE_STATE;
    }

    public void setMESSAGE_STATE(String message_state) {
        MESSAGE_STATE = message_state;
    }

    public String getUNIT_ID() {
        return UNIT_ID;
    }

    public void setUNIT_ID(String unit_id) {
        UNIT_ID = unit_id;
    }

    public String getKPI_ID() {
        return KPI_ID;
    }

    public void setKPI_ID(String kpi_id) {
        KPI_ID = kpi_id;
    }

    public String getMESSAGE_ID() {
        return MESSAGE_ID;
    }

    public void setMESSAGE_ID(String message_id) {
        MESSAGE_ID = message_id;
    }

    public String getSERIAL_NO() {
        return SERIAL_NO;
    }

    public void setSERIAL_NO(String serial_no) {
        SERIAL_NO = serial_no;
    }

    public String getMESSAGE_TYPE() {
        return MESSAGE_TYPE;
    }

    public void setMESSAGE_TYPE(String message_type) {
        MESSAGE_TYPE = message_type;
    }

    public String getMESSAGE_CONTENT() {
        return MESSAGE_CONTENT;
    }

    public void setMESSAGE_CONTENT(String message_content) {
        MESSAGE_CONTENT = message_content;
    }

    public Date getSEND_TIME() {
        return SEND_TIME;
    }

    public void setSEND_TIME(Date send_time) {
        SEND_TIME = send_time;
    }

    public String getMESSAGE_TO() {
        return MESSAGE_TO;
    }

    public void setMESSAGE_TO(String message_to) {
        MESSAGE_TO = message_to;
    }

    public String getLOGIN_ID() {
        return LOGIN_ID;
    }

    public void setLOGIN_ID(String login_id) {
        LOGIN_ID = login_id;
    }

}
